﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessEntity.Assets
{
    /// <summary>
    /// 预算调整主表
    /// </summary>
   public class ZC_YSTZ:BaseEntity
    {
        /// <summary>
        /// 预算编号
        /// </summary>
        public string Ysid { get; set; }
        /// <summary>
        /// 会计年度
        /// </summary>
        public String Kjnd { get; set; }
        /// <summary>
        /// 单位代码
        /// </summary>
        public String Dwdm { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        public String Dwmc { get; set; }
        /// <summary>
        /// 部门代码
        /// </summary>
        public String Bmdm { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public String Bmmc { get; set; }
        /// <summary>
        /// 申请人
        /// </summary>
        public String Sqr { get; set; }
        /// <summary>
        /// 申报日期
        /// </summary>
        public DateTime? Sbrq { get; set; }
        /// <summary>
        /// 申报类型
        /// </summary>
        public String Sblx { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public String Djbh { get; set; }="TZ"+ DateTime.Now.ToString("yyyyMMddHHmmss");
        /// <summary>
        /// 资产代码
        /// </summary>
        public String Zcdm { get; set; }
        /// <summary>
        /// 资产名称
        /// </summary>
        public String Zcmc { get; set; }

        /// <summary>
        /// 资产类别代码
        /// </summary>
        public String Zclbdm { get; set; }
        /// <summary>
        /// 资产类别名称
        /// </summary>
        public String Zclbmc { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public String Ggxh { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public String Jldw { get; set; }
        /// <summary>
        /// 预算总量控制
        /// </summary>
        public Decimal? Yszlkz { get; set; }
        /// <summary>
        /// 预算单价控制
        /// </summary>
        public Decimal? Ysdjkz { get; set; }
        /// <summary>
        /// 预算总价控制
        /// </summary>
        public Decimal? Yszjkz { get; set; }

        //public Decimal? Yszlkzq { get; set; }

        //public Decimal? Ysdjkzq { get; set; }

        //public Decimal? Yszjkzq { get; set; }

        ///// <summary>
        ///// 是否占用
        ///// </summary>
        //public String Sfzy { get; set; } = "否";

        ///// <summary>
        ///// 已占用数量
        ///// </summary>
        //public Decimal? Yzysl { get; set; }

        ///// <summary>
        ///// 已占用额度
        ///// </summary>
        //public Decimal? Yzyed { get; set; }

        ///// <summary>
        ///// 剩余数量
        ///// </summary>
        //public Decimal? Sysl { get; set; }

        ///// <summary>
        ///// 剩余额度
        ///// </summary>
        //public Decimal? Syed { get; set; }

        /// <summary>
        /// 上传文件
        /// </summary>
        //public FileUploadent File { get; set; }
    }
}
